import request from "@/utils/request";

// 学生排行榜
export function studentRanking(params) {
  return request({
    url: "/larger/screen/studentScoreRanking",
    method: "get",
    params,
  });
}
// 问答、任务、学生数
export function getIssueInfo(params) {
  return request({
    url: "/larger/screen/issueInfo",
    method: "get",
    params,
  });
}
// 学生参与趋势图
export function getStudentTrend(params) {
  return request({
    url: "/larger/screen/studentParticipationTrend",
    method: "get",
    params,
  });
}
// 试卷发布占比
export function getPaperPropor(params) {
  return request({
    url: "/larger/screen/testPaperPublicationProportion",
    method: "get",
    params,
  });
}
// 任务发布占比
export function getBankPropor(params) {
  return request({
    url: "/larger/screen/practicePublicationProportion",
    method: "get",
    params,
  });
}
// 学院发布排行
export function getFaceXy(params) {
  return request({
    url: "/larger/screen/faceXyPublication",
    method: "get",
    params,
  });
}
// 积分分布
export function getScore(params) {
  return request({
    url: "/project/probj/getScoreDistribution",
    method: "get",
    params,
  });
}
